#-*- coding: UTF-8 -*- 
import httplib

#http://www.17k.com
#/chapter/98477/3584323.html(可以访问)
#/chapter/98477/3581669.html(不可访问)
conn = httplib.HTTPConnection("www.17k.com");
conn.request("GET","/chapter/98477/3584323.html")
rs = conn.getresponse();

print rs.getheaders();
conn.close();


conn = httplib.HTTPConnection("www.17k.com");
conn.request("GET","/chapter/98477/3581669.html")
rs = conn.getresponse()
     
print rs.getheaders();
#print rs.read();